﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/InternalPage.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="confirmTitle" ContentPlaceHolderID="TitleContent" runat="server">
  Confirm
</asp:Content>
<asp:Content ID="confirmHeader" ContentPlaceHolderID="PageHeader" runat="server">
Account Confirmation</asp:Content>
<asp:Content ID="confirmContent" ContentPlaceHolderID="MainContent" runat="server">
  <% if (ViewData["IsError"] != null && (bool)ViewData["IsError"] && 
       !String.IsNullOrWhiteSpace(ViewData["UserName"] as string) )
     {
  %>
  Click <a href="<%= Url.Action("Resend", "Registration", new { id = ViewData["UserName"] }) %>">here</a> to resend
  the verification e-mail to the account in which you registered.
  <% }
     else
     {%>
  <p>
    Thank you for registering with Give-A-Quiz.com! Your account was successfully registered
    and confirmed!</p>
    <p>Click <a href="<%= Url.Action("Index", "Home") %>">here</a> to start using the website.</p>
  <% } %>
</asp:Content>
